package com.yicong.ants.bean.scenic;

/**
 * @author cchao
 * @version 2019-08-08.
 */
public class TicketResultBean {

    /**
     * ticket_type : img
     * ticket_content : XXX.html
     */

    private String ticket_type;
    private String ticket_content;

    public TicketResultBean() {
    }

    public String getTicket_type() {
        return this.ticket_type;
    }

    public String getTicket_content() {
        return this.ticket_content;
    }

    public void setTicket_type(String ticket_type) {
        this.ticket_type = ticket_type;
    }

    public void setTicket_content(String ticket_content) {
        this.ticket_content = ticket_content;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof TicketResultBean)) return false;
        final TicketResultBean other = (TicketResultBean) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$ticket_type = this.getTicket_type();
        final Object other$ticket_type = other.getTicket_type();
        if (this$ticket_type == null ? other$ticket_type != null : !this$ticket_type.equals(other$ticket_type))
            return false;
        final Object this$ticket_content = this.getTicket_content();
        final Object other$ticket_content = other.getTicket_content();
        if (this$ticket_content == null ? other$ticket_content != null : !this$ticket_content.equals(other$ticket_content))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof TicketResultBean;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $ticket_type = this.getTicket_type();
        result = result * PRIME + ($ticket_type == null ? 43 : $ticket_type.hashCode());
        final Object $ticket_content = this.getTicket_content();
        result = result * PRIME + ($ticket_content == null ? 43 : $ticket_content.hashCode());
        return result;
    }

    public String toString() {
        return "TicketResultBean(ticket_type=" + this.getTicket_type() + ", ticket_content=" + this.getTicket_content() + ")";
    }
}
